﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using VM.Entity.EntityMap.User;

namespace VM.Entity.EntityDto.Invoice
{
    /// <summary>
    /// 附加要素信息列表（数电电票特有字段，附加要素信息可以有多个，有值时需要附加模版名称也有值）
    /// </summary>
    [SugarTable("invoice_applyAdditionalElementList")]
    public class invoiceApplyAdditionalElementListDto
    {
        #region Model
        private int _id;
        private int? _parentid;
        private string _elementname;
        private string _elementtype;
        private string _elementvalue;
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        public int? parentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 信息名称（数电电票特有字段；需要与电子税局中的模版中的附加要素信息名称一致）
        /// </summary>
        public string elementName
        {
            set { _elementname = value; }
            get { return _elementname; }
        }
        /// <summary>
        /// 信息类型（数电电票特有字段）
        /// </summary>
        public string elementType
        {
            set { _elementtype = value; }
            get { return _elementtype; }
        }
        /// <summary>
        /// 	信息值（数电电票特有字段）
        /// </summary>
        public string elementValue
        {
            set { _elementvalue = value; }
            get { return _elementvalue; }
        }
        #endregion Model



    }
}
